package com.sheliduan.itlearning.common.domain.dos;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.Date;

/**
 * @author: 断舍离
 * @date: 2025/4/16 10:44
 * @description: 用户已购买课程实体类
 **/
@Data
@AllArgsConstructor
@NoArgsConstructor
@Builder
@TableName("t_user_bought_course")
public class UserBoughtCourseDO {

    @TableId(type = IdType.AUTO)
    private Integer id;

    private Integer userId;

    private Integer type;

    private Integer courseId;

    private Integer bloggerId;

    private Date orderTime;
}
